<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>更改title值</title>
		<script type="text/javascript">
			function change_page(){
				document.getElementById('change').title="跳转到更改href值";
			}
		</script>
	</head>
	<body>
		<input type="button" value="点击" onclick="change_page()"/>
		<a id='change' href="#" title="跳转到更改title值">更改title值</a>
	</body>
</html>
